package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 建议书保障利益公式对应关系
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/13 13:31</td>
 * <td>lanwei</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lanwei
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName(value = "ASSISTANT_RECOMMENDATION_SAFEGUARD_INTERESTS_FORMULA_MAP")
public class RecommendationSafeGuardInterestsFormulaMap implements Serializable {

    /**
     * 序列化
     */
    private static final long serialVersionUID = -8039349138266712254L;

    /**
     * 主键
     */
    @TableId(value = "RECOMMENDATION_SAFEGUARD_INTERESTS_FORMULA_MAP_ID", type = IdType.ASSIGN_UUID)
    private String recommendationSafeGuardInterestsFormulaMapId;

    /**
     * 创建人id
     */
    @TableField(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 修改人id
     */
    @TableField(value = "UPDATE_USER_ID")
    private String updateUserId;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 备注
     */
    @TableField(value = "MEMO")
    private String memo;

    /**
     * 保障利益类型
     */
    @TableField(value = "SAFEGUARD_INTERESTS_TYPE")
    private String safeGuardInterestsType;

    /**
     * 保障利益类型名称
     */
    @TableField(value = "SAFEGUARD_INTERESTS_TYPE_NAME")
    private String safeGuardInterestsTypeName;

    /**
     * 保障利益子类型
     */
    @TableField(value = "SAFEGUARD_INTERESTS_SUBTYPE")
    private String safeGuardInterestsSubType;

    /**
     * 保障利益子类型名称
     */
    @TableField(value = "SAFEGUARD_INTERESTS_SUBTYPE_NAME")
    private String safeGuardInterestsSubTypeName;

    /**
     * 保障利益子类型公式
     */
    @TableField(value = "SAFEGUARD_INTERESTS_SUBTYPE_FORMULA")
    private String safeGuardInterestsSubTypeFormula;

    /**
     * 保障利益子类型初始值
     */
    @TableField(value = "SAFEGUARD_INTERESTS_SUBTYPE_INITIAL_VALUE")
    private BigDecimal safeGuardInterestsSubTypeInitialValue;

    /**
     * 建议书ID
     */
    @TableField(value = "RECOMMENDATION_ID")
    private String recommendationId;

}
